# -*- coding: utf-8 -*- 

from framework.gaesessions import SessionMiddleware

COOKIE_KEY = 'h\xb79\xecp\xe1\xa0UE\x0f\x86\xdbs\xa6\x8e \xc1\x95\x0f#\xe9\xa5\xe7\xec\xa9\xf5\n\x88\xedn\rlM*M\x01\xe9t\xc07\xee0\x96\x86\xb8\xd8\xb9\x0b\xe5\x8fI\xbf\xf0o\xb2\x01\xd9Q\xaa\x9cc\xfe\xb4\xb8'

def webapp_add_wsgi_middleware(app):
    app = SessionMiddleware(app, cookie_key=COOKIE_KEY)
    return app